<?php echo $this->Html->css('inicio'); ?>
  <?php
  
  if (isset($javascript)) {

        $this->Javascript->link(array(

                                'jquery-1.4.2.min'


                                ), false);

}
    echo $this->Form->create('obra', array('action'=>'add'));
    
    
   ?>
    <?php
        echo $this->Html->image('icon_pers/volver1.png');
        echo $this->Html->link('volver',array('action'=>'index'));
    ?>
    <br>
        <fieldset>
        
        <legend>
        <br>    
        Añadir nueva obra<br><font size=4>(*)Campo requerido </font> </br>     
        </legend>
        
            <div id="anchoInput2">
            <?php

              echo $this->Form->input('Obra.nombre', array('label'=>'Nombre', 'maxLength' => 30));
              echo $this->Form->input('Obra.descripcion', array('label'=>'Descripción', 'maxLength' => 30));
              echo $this->Form->input('Obra.direccion', array('label'=>'Dirección', 'maxLength' => 30));
              
           ?>
            </div>
    </fieldset>
    <?php
    
        echo $this->Form->end('Añadir obra',true);
        echo $this->Html->image('icon_pers/volver1.png');
        echo $this->Html->link('volver',array('action'=>'index'));
        
    ?>